package com.hnichr.ump.build7.service;


import com.hnichr.ump.build7.pojo.Plate;
import com.mxpioframework.jpa.query.Criteria;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface StopService {
    String snapshot();

    boolean open();

    List<Plate> writeListQuery(Criteria criteria);
    List<Plate> writeListQuery(String plate);

    Page<Plate> writeListPage(Pageable page, Criteria criteria);

    boolean writeListAddOrUpdate(String plate,String context,String enableTime,String overdueTime,int enable);

    boolean writeListDel(String[] plate);

}
